package top.btcmarket.auth.entity;

import javax.persistence.*;
import java.io.Serializable;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * 
 * @ClassName:  RoleResources   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: pengwei
 * @date:   2017年11月20日 上午11:14:30   
 *
 */
@Entity
@Table(name = "role_resources")
public class RoleResources implements Serializable{
    /**   
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)   
	 */   
	private static final long serialVersionUID = -5958215517412452637L;
	private int id;
	//role id
    private int uid;
    private int rid;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }
}
